<!DOCTYPE html>
<html>
<head>
    <title>继承</title>
    <meta charset="utf-8"/>
    <script src="../../js/jquery-1.10.1.min.js"></script>
    <script>
       function Foo(){}
       var f1 = new Foo();

       f1.a = 10;

       Foo.prototype.a = 100;
       Foo.prototype.b = 200;

        console.log(f1.a);
        console.log(f1.b);

        Function.prototype.a
    </script>
</head>
<body>
    <p>继承继承</p>
</body>
</html>